package com.gjy.domain;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 宫静雨
 * @since 2021-03-16
 */
public class User extends Model<User> {

    private static final long serialVersionUID=1L;

    /**
     * 用户名字
     */
    private String name;

    /**
     * 用户密码
     */
    private String password;

    /**
     * 用户权限
     */
    private Integer authority;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getAuthority() {
        return authority;
    }

    public void setAuthority(Integer authority) {
        this.authority = authority;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }

    @Override
    public String toString() {
        return "User{" +
        "name=" + name +
        ", password=" + password +
        ", authority=" + authority +
        "}";
    }
}
